/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package prueba.view.html;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author HP_Propietario
 */
public class HTMLBody extends AbstractHTMLPage {

    private List<Body> bodys;



    /***
     *
     *
     *
     *
     *
     *
     */
    private void loadElements(){
        if(bodys==null){
            bodys=new ArrayList<Body>();
            
        }
            bodys=super.getElementsBody();
    }

    /***
     *
     *
     *
     *
     *
     *
     */
    public void process() {
        loadElements();
        for (Body body :bodys) {
            body.print().toString();
            System.out.println("--->" + body.print().toString());
        }
    }
}
